package com.example.demo2.service.impl;

import com.example.demo2.entity.Graduate_Demands;
import com.example.demo2.mapper.Graduate_DemandsMapper;
import com.example.demo2.service.Graduate_DemandsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class Graduate_DemandsServiceImpl implements Graduate_DemandsService {

    @Autowired
    private Graduate_DemandsMapper graduate_demandsMapper;


    @Override
    public List<Graduate_Demands> Lv_selectAllGrad_points() {
        return graduate_demandsMapper.Lv_selectAllGrad_points();
    }

    @Override
    public Graduate_Demands Lv_selectByGrad_Id(String graduationRequirments) {

        return graduate_demandsMapper.Lv_selectByGrad_Id(graduationRequirments);
    }

    @Override
    public int Lv_deleteByGrad_Id(String graduationRequirments) {
            return graduate_demandsMapper.Lv_deleteByGrad_Id(graduationRequirments);
    }

    @Override
    public int  Lv_insertGrad_Id(Graduate_Demands graduate_demands) {
        return graduate_demandsMapper.Lv_insertGrad_Id(graduate_demands);

    }

    @Override
    public int Lv_updateByGrad_Id(Graduate_Demands graduate_demands) {
       return graduate_demandsMapper.Lv_updateByGrad_Id(graduate_demands);

    }
}
